
<div class='center_form' style="min-width: 450px;width: 100%;">
	<span class="center_top_title"><?php echo $this->translate("addMetadataSet"); ?></span>
    <div class="center_form_right">
        <div class='center_form_btn_div' onclick='javascript:MetadataSet.submitAddForm("set");'>
            <div class='center_form_btn_pic'>
                <img src='<?php echo HttpUtil::baseUrl();?>/images/save.gif'/>
            </div><div class='center_form_btn_text'><?php echo $this->translate("saveBtn"); ?></div>
        </div>
        <?php
        if(AAService::isAllowed("metadata", "delete")){
        ?>
        <div class='center_form_btn_div' onclick='javascript:Common.gotoUrl("<?php echo HttpUtil::baseUrl();?>/metadata/metadata/delete/id/<?php echo $this->id;?>")'>
            <div class='center_form_btn_pic'>
                <img src='<?php echo HttpUtil::baseUrl();?>/images/delete.gif'/>
            </div><div class='center_form_btn_text'><?php echo $this->translate("delBtn");?></div>
        </div>
        <?php }?>
    </div>
</div>
<div class="clear"></div>
<div class="centerbig_form" style="min-width: 450px;border-top: 1px solid #E3E3E3;width: 100%;"> 
      <div class="form_content">
                    <form action="<?php echo $this->form->getAction(); ?>" method="post" id="addform">
						<?php ZendFormUtil::renderElement($this->form->id); ?>
                        <?php ZendFormUtil::renderElement($this->form->title); ?>
                        <?php ZendFormUtil::renderElement($this->form->tag); ?>
                        <?php ZendFormUtil::renderElement($this->form->default_cheque_rule); ?>
                        <?php ZendFormUtil::renderElement($this->form->default_price_rule); ?>
                        <?php ZendFormUtil::renderElement($this->form->default_ship_rule); ?>
                        <?php ZendFormUtil::renderElement($this->form->default_related_rule); ?>
                    </form>

      </div>
</div>
<div class='clear'></div>